package cn.bytengine.stem.cluster.udp;

import io.vertx.core.datagram.DatagramPacket;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Component;


@Component
public class ClusterUdpHandler {
    private static final Logger log = LoggerFactory.getLogger(ClusterUdpHandler.class);

    public void processPacket(DatagramPacket packet) {
        log.info("receive: {}", packet.sender().hostAddress());
    }
}
